home *** CD-ROM | disk | FTP | other *** search
/ FishMarket 1.0 / FishMarket v1.0.iso / fishies / 526-550 / disk_532 / dataplot / macro.demo < prev    next >
Text File  |  1992-05-06  |  1KB  |  81 lines

  1. onerror continue
  2. newplot
  3. screendepth 3
  4. CD .
  5. majorticks yes
  6. dataset data
  7. DrawFunction  1.848004 + 9.849741 * X -9.594434*X^2
  8. DrawFunction  3.389678 -7.341761 * X + 28.23437*X^2 -21.90923*X^3
  9. PlotText "Matt's Data"  2  .0744, 4.87
  10. PlotText "2nd Order Curve Fit"  3  .0168, 1.38
  11. PlotText "3rd Order Curve Fit"  4  .6192, .846
  12. beep
  13. voice female
  14. speak This is a plot with data and curve fitting.
  15. pause Data and fit finished.
  16. newplot
  17. color 0,7,7,7
  18. screendepth 1
  19. screenresolution 640x400
  20. dataset loglog
  21. voice male
  22. speak semi log plots can be made, also
  23. color 0,0,0,0
  24. pause Log - Log finished.
  25. newplot
  26. screendepth 2
  27. screenresolution 640x200
  28. title Plot of cos(x*3)*sin(x/5)
  29. xlabel time
  30. ylabel amplitude
  31. drawfunction cos(x*3)*sin(x/5),0,18
  32. pause Function Plot finished.
  33. ;maxcolors 8
  34. newplot
  35. screendepth 3
  36. color 0,12,4,11
  37. title Macro Demonstration
  38. xlabel Bytes and Bullets
  39. ylabel Made in USA
  40. grids no
  41. numerics no
  42. scale=manual
  43. xmin=0
  44. xmax=14
  45. ymin=0
  46. ymax=10
  47. xcol=7
  48. ycol=8
  49. segments no
  50. markers yes
  51. dataset star
  52. xcol 1
  53. ycol 2
  54. dataset star
  55. xcol=3
  56. ycol=4
  57. dataset star
  58. markers no
  59. xcol=5
  60. ycol=6
  61. dataset star
  62. dataset demodata
  63. ;left eye next
  64. curvecolor=7
  65. xcol=3
  66. ycol=4
  67. dataset demodata
  68. ;right eye next
  69. curvecolor=7
  70. xcol=5
  71. ycol=6
  72. dataset demodata
  73. ;smile next
  74. curvecolor=3
  75. xcol=7
  76. ycol=8
  77. dataset demodata
  78. pause Circles and Stars Finished.
  79. speak This completes the demonstration!
  80. color 0,5,5,10
  81.